Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> Sprite Getting Stuck Problem [GM6-HME], Small sprite gets stuck in ground.
Unspecified
YoshiFanatic2006
Posted: Aug 10 2008, 04:28 AM
Quote Post


Standard Member


Group Icon
Group: Members
Posts: 34
Member No.: 2914
Joined: 6-November 06

Status: (0d) [--]


Hey, im making a fan game with Hello's Mario Engine, but its not Mario basted. Its for another site. anyway, i got a problem on my hands. If i get a mushroom and grow to big size, that doesnt have any problems. But when i get injured as "Big" state, the small sprite is created in the ground.

Example: ooooooooooSpriteoooooooooooo

Should Be=__________Sprite___________
__________oooooooooooooooooooooooooo

Legend: o - Ground, _ - empty space

The sprite should just go to small state and NOT get stuck in the ground. Here are the sprite dementions:

Small Sprite: 25x26 [W/H]
Big Sprite: 31x33 [W/H]

Can anyone help?


--------------------
PMEmail Poster
Top
Unspecified
Miaxis
Posted: Aug 10 2008, 05:11 AM
Quote Post


hagan bromas
[*]

Group Icon
Group: Members
Posts: 1799
Member No.: 2793
Joined: 12-October 06

Status: (0d) [--]


Make the sprites 32x32 and place the in the center. Solves all problems since the origins would get confused otherwise, which would take a while to edit.


--------------------
user posted image

user posted imageuser posted imageuser posted imageuser posted image
PMEmail PosterUsers WebsiteMSN
Top
Spain
Sergeant DeeY
Posted: Aug 10 2008, 06:52 AM
Quote Post


~Heh Heh~
[*][*][*]

Group Icon
Group: Members
Posts: 1344
Member No.: 4730
Joined: 17-November 07

Status: (0d) [--]


QUOTE (YoshiFanatic2006 @ Aug 10 2008, 11:28 AM)
Hey, im making a fan game with Hello's Mario Engine, but its not Mario basted. Its for another site. anyway, i got a problem on my hands. If i get a mushroom and grow to big size, that doesnt have any problems. But when i get injured as "Big" state, the small sprite is created in the ground.

Example: ooooooooooSpriteoooooooooooo

Should Be=__________Sprite___________
__________oooooooooooooooooooooooooo

Legend: o - Ground, _ - empty space

The sprite should just go to small state and NOT get stuck in the ground. Here are the sprite dementions:

Small Sprite: 25x26 [W/H]
Big Sprite: 31x33 [W/H]

Can anyone help?

Set the origin of the small sprites to this!

X = 0 Y = -16


--------------------
The signature will not be available when the new forums shows up.
~~DeeY~~
PMUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0351 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.20 ]