Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / savesprite(SpriteNumber) Function Needed.

Author
Message
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 21st Feb 2007 22:10 Edited at: 21st Feb 2007 22:16
Anyone want to help?

I could use a SaveSprite(SpriteNum,File$) Function that saves the sprite data and the image in 1 file...

I would do this myself but im terrable with MemBlocks...

CAN ANYONE HELP?

EDIT: Once i've got a SaveSprite Function I can save my levels so I'll post the game

Attachments

Login to view attachments
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 21st Feb 2007 22:53
Ho yes what Data needs Saving?

Sprite X(#)
Sprite Y(#)
Spr(#).Name
Spr(#).Value
And the Sprites Image, Can gain Img# from Sprite Image(#)
MonoCoder
19
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 21st Feb 2007 23:35
Do you mean saving a level?

You could write it to a file using the standard file commands. That works for me.


Uber Tails fan. monocoder.spaces.live.com http://MonoCoder.bebo.com
MSon
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 22nd Feb 2007 21:20 Edited at: 22nd Feb 2007 21:25
Please DOWNLOAD GAME HERE and leave any feedback
http://forumfiles.thegamecreators.com/?i=1126328

Its only an example level, but the editors built in if anyone wants a go.

I still need to add enamies who you can shoot, but i need to find a desent SpriteSheet, Anyone got one that would work in this game?

Game Controls


Editor Controls

Attachments

Login to view attachments

Login to post a reply

Server time is: 2025-05-14 12:47:17
Your offset time is: 2025-05-14 12:47:17