GAME: uatomix

Use this forum to share and discuss Uzebox games and demos.

GAME: uatomix

Postby martinsustek » Sat Aug 27, 2011 10:36 pm

Hi all,

here is my second game (actually it is first, that I started to do). It's remake of old game atomix.

The goal is to build a molecule by moving atoms, that you can drag, and it flies until next atom or wall.
Graphics is in mode 3, low resolution, drawn by myself, so nothing special.
I've used levels from collection made by Andreas Wuest which is used in Katomic (KDE port of this game). I've selected 50 levels, that fit on screen.

I don't have sounds yet - this is definitely not my cup of tee. So anyone who can create patches is welcomed!
I also want to use that black window in right part of game screen somehow, so if you have any idea, please let me know :-)
Attachments
uatomix.png
In-game screenshot
uatomix.png (24.66 KiB) Viewed 1209 times
uatomix.uze
UZE file
(50.58 KiB) Downloaded 65 times
User avatar
martinsustek
 
Posts: 115
Joined: Sat Apr 30, 2011 11:34 am
Location: Ostrava, Czech Republic

Re: GAME: uatomix

Postby Jeroen » Sat Aug 27, 2011 10:46 pm

Maybe you can use that part of the screen to show the number of moves made and if you know howmuch needed show that also.
Jeroen
 
Posts: 21
Joined: Mon Jul 25, 2011 1:06 pm
Location: The Netherlands

Re: GAME: uatomix

Postby martinsustek » Sat Aug 27, 2011 10:57 pm

Maybe you can use that part of the screen to show the number of moves made and if you know howmuch needed show that also.

Yes, it will be easy to count moves. It will be nice to save high scores, but there is not enough memory in EEPROM to save score for 50 levels. Now I only save, if level was done or not.

I was also thinking about measuring time (how long is level being played), but don't know how to measure it.
It's maybe question for Uze - does kernel have some frame counter or hook to run function during VSYNC (to count frames and seconds, minutes,...)? Actually I think I can add it, but I want to know, if its there yet.
User avatar
martinsustek
 
Posts: 115
Joined: Sat Apr 30, 2011 11:34 am
Location: Ostrava, Czech Republic

Re: GAME: uatomix

Postby greenpower » Sun Aug 28, 2011 2:11 pm

Wow! It is simple but useful. Great as always! ;)
I know i'm too young, but it doesn't matters. Maybe i'm a newbie, but i can learn very fastly
greenpower
 
Posts: 55
Joined: Mon Jun 13, 2011 7:48 pm
Location: Benidorm, Spain

Re: GAME: uatomix

Postby martinsustek » Sun Aug 28, 2011 3:59 pm

I've created and added some sounds, added counters of moves, distance and time and slightly changed graphics.
New version is attached.
Attachments
atomix.uze
UZE file
(57.84 KiB) Downloaded 66 times
User avatar
martinsustek
 
Posts: 115
Joined: Sat Apr 30, 2011 11:34 am
Location: Ostrava, Czech Republic

Re: GAME: uatomix

Postby Harty123 » Sun Aug 28, 2011 5:42 pm

Hi Martin,

Really nice done.

About score: You can use 2 EEPROM blocks for one game (one for the levels and one for highscore...)


-Harty
Life's too short to remove usb safely

Web: www.hwhardsoft.de
http://www.facebook.com/hwhardsoft
YouTube: http://www.youtube.com/user/hwhardsoft
User avatar
Harty123
 
Posts: 334
Joined: Wed Jan 12, 2011 9:30 pm
Location: PM, Germany

Re: GAME: uatomix

Postby martinsustek » Sun Aug 28, 2011 6:31 pm

You can use 2 EEPROM blocks for one game

Yes, but I'm talking about score for each level (50 levels) and each score is few bytes.
User avatar
martinsustek
 
Posts: 115
Joined: Sat Apr 30, 2011 11:34 am
Location: Ostrava, Czech Republic

Re: GAME: uatomix

Postby uze6666 » Mon Aug 29, 2011 1:39 am

Nice one Martin! I had never played this one before, but I like these kind of puzzle games. :)

I was also thinking about measuring time (how long is level being played), but don't know how to measure it.
It's maybe question for Uze - does kernel have some frame counter or hook to run function during VSYNC (to count frames and seconds, minutes,...)? Actually I think I can add it, but I want to know, if its there yet.

Yes, it has a pre/post vsync hook that will be called 60 times per second:

Code: Select all
void SetUserPreVsyncCallback(VsyncCallBackFunc);
void SetUserPostVsyncCallback(VsyncCallBackFunc);

Usage is the following:
Code: Select all
...
void MyVsyncCallBack(void){
    mmc_processMixer();
}
...
int main(){
    SetUserPreVsyncCallback(&MyVsyncCallBack);
    ...
}


Have a look at the (newly created) API pages for details.

-Uze

ps: Is it ready for release or still WIP? Because if ready for release, I'll unleash the "New Game Alert" flood. :P
User avatar
uze6666
Site Admin
 
Posts: 2670
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada

Re: GAME: uatomix

Postby martinsustek » Mon Aug 29, 2011 5:36 pm

In fact I've done it by modifying kernel directly, I'll rewrite it. Then it can be released, I think.
Are there some FTP or so, where I can upload game and sources?
User avatar
martinsustek
 
Posts: 115
Joined: Sat Apr 30, 2011 11:34 am
Location: Ostrava, Czech Republic

Re: GAME: uatomix

Postby uze6666 » Mon Aug 29, 2011 7:24 pm

I don't have an FTP site setup, but you can attach the source ZIP to the main post and WIKI.

-Uze
User avatar
uze6666
Site Admin
 
Posts: 2670
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada

Next

Return to Games & Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron