Discord
Login
Community
DARK THEME

sprites aren't appearing

how do you make them appear (I have the character but enemies arent appearing)

friend, share your project here

witch one the mario one???

It would make it a lot easier helping you, if you shared your code here. Like this, it is near to impossible to actually help you.

My recreated Gloomcraft game

global.Enemy = class PURPLE_SLIME = new global.EnemyData([ "Purple Slime", "enemies/slimes/purple", 16, 16, 16, 12, 12, 8, 10, 4, [4, 8], 1, [8, 16], [10, 20], "#883eb3", [ ["Purple Shard", 0.2], ["Purple Goo", 0.5] ] ])

ORANGE_SLIME = new global.EnemyData([ "Orange Slime", "enemies/slimes/orange", 8, 16, 16, 12, 12, 8, 12, 8, [8, 12], 4, [4, 8], [10, 20], "#ed7207", [ ["Orange Shard", 0.2], ["Orange Goo", 0.5] ] ])

GREEN_SLIME = new global.EnemyData([ "Green Slime", "enemies/slimes/green", 12, 16, 16, 12, 12, 8, 10, 8, [2, 4], 1, [24, 32], [10, 20], "#25b346", [ ["Green Shard", 0.2], ["Green Goo", 0.5] ] ])

BLUE_SLIME = new global.EnemyData([ "Blue Slime", "enemies/slimes/blue", 12, 16, 16, 12, 12, 8, 12, 16, [2, 4], 2, [8, 16], [10, 20], "#307cd9", [ ["Blue Shard", 0.2], ["Blue Goo", 0.5] ] ])

It might take a while but here you go.

Is the EnemyData drawing code correct? Are you drawing all of the enemies each draw frame?

Yes, I have no idea what is going on

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community