Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TDT4240-group23
SpaceCheckers
Commits
0fee8c4d
Commit
0fee8c4d
authored
Apr 16, 2021
by
Petter Selfors Rølvåg
Browse files
Fixed RocketGuy asset
parent
ec3023c9
Changes
6
Hide whitespace changes
Inline
Side-by-side
CheckersClient/android/assets/characters/RocketGuy1
x
.png
→
CheckersClient/android/assets/characters/RocketGuy1.png
View file @
0fee8c4d
File moved
CheckersClient/android/assets/characters/RocketGuy2
x
.png
→
CheckersClient/android/assets/characters/RocketGuy2.png
View file @
0fee8c4d
File moved
CheckersClient/android/assets/characters/RocketGuy3
x
.png
→
CheckersClient/android/assets/characters/RocketGuy3.png
View file @
0fee8c4d
File moved
CheckersClient/android/assets/characters/atlases/RocketGuy.atlas
View file @
0fee8c4d
...
...
@@ -4,21 +4,21 @@ size: 2048, 2048
format: RGBA8888
filter: Nearest, Nearest
repeat: none
RocketGuy1
x
RocketGuy1
rotate: false
xy: 2,
1004
xy: 2,
2
size: 1000, 1000
orig: 1000, 1000
offset: 0, 0
index: -1
RocketGuy2
x
RocketGuy2
rotate: false
xy: 2,
2
xy: 2,
1004
size: 1000, 1000
orig: 1000, 1000
offset: 0, 0
index: -1
RocketGuy3
x
RocketGuy3
rotate: false
xy: 1004, 1004
size: 1000, 1000
...
...
CheckersClient/android/assets/characters/atlases/RocketGuy.png
View replaced file @
ec3023c9
View file @
0fee8c4d
83 KB
|
W:
|
H:
77.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
CheckersClient/core/src/com/mygdx/game/views/LobbyView.java
View file @
0fee8c4d
...
...
@@ -577,6 +577,7 @@ public class LobbyView extends View{
System
.
out
.
println
(
"Finding avatar with index: "
+
player
.
getIndexAvatar
());
System
.
out
.
println
(
"Name is: "
+
availableAvatarsHashMap
.
get
(
player
.
getIndexAvatar
()));
System
.
out
.
println
(
"PlayerIndexAvatar is: "
+
player
.
getIndexAvatar
());
String
path
=
Enum
.
valueOf
(
CharacterAssets
.
class
,
availableAvatarsHashMap
.
get
(
player
.
getIndexAvatar
())+
"Atlas"
).
path
;
Class
classType
=
Enum
.
valueOf
(
CharacterAssets
.
class
,
availableAvatarsHashMap
.
get
(
player
.
getIndexAvatar
())+
"Atlas"
).
classType
;
...
...
@@ -587,7 +588,6 @@ public class LobbyView extends View{
availableAvatarsHashMap
.
get
(
player
.
getIndexAvatar
()),
3
);
animatedSprite
.
setOrigin
(
0
,
0
);
int
remX
=
i
%
4
;
int
remY
=
mod
(
2
,
i
+
2
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment