10.03.2019 - Round 1 results of our "A Love Letter For FreeBASIC" game dev competition have been published. Please be sure to check the results thread: http://games.freebasic.net/forum/index.php?topic=629.0. Don't forget that the competition is continuing with a round 2, lasting till 29th of April, 300 USD first prize. Stay tuned!

Author Topic: Who am I? And where did these bubbles come from?  (Read 6944 times)

KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
Who am I? And where did these bubbles come from?
« on: January 17, 2008, 06:41:04 PM »


To be continued...

notthecheatr

  • Global Moderator
  • Forum Sage
  • *****
  • Posts: 351
  • Who's the guy from 21 Jump Street?
    • AOL Instant Messenger - notthecheatr
    • Yahoo Instant Messenger - TheMysteriousStrangerFromMars
    • View Profile
    • notthecheatr Home
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #1 on: January 17, 2008, 06:51:44 PM »
Looking forward to it, but...

I recommend you make the edges of the bubbles smoother...
The funniest thing happened yesterday.

KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #2 on: January 17, 2008, 07:13:41 PM »
Our graphics division is under budget ATM. We have approximately .2 employees right now. :P

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #3 on: January 18, 2008, 04:30:53 PM »
Am I supposed to comment this?

Well, it looks very abstract. And like something Kristopher Windsor would make. :P

I just hope it doesn't involve gravity and jumping. ;)
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

BadMrBox

  • Forum Sage
  • *****
  • Posts: 411
    • View Profile
    • BadMrBox.com
Re: Who am I? And where did these bubbles come from?
« Reply #4 on: January 18, 2008, 05:57:23 PM »
Your bubbles could do from some AA witch shouldent affect your graphics deparment too hard. At this point I'm drunk again.

KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #5 on: January 18, 2008, 06:08:11 PM »
You don't like gravity? That's the only realistic thing in this game... :P

Remember Dark Spelunker?



:D

BTW, BadMrBox, I changed the bubbles as notthecheatr suggested so they look better. ;)

BadMrBox

  • Forum Sage
  • *****
  • Posts: 411
    • View Profile
    • BadMrBox.com
Re: Who am I? And where did these bubbles come from?
« Reply #6 on: January 18, 2008, 07:47:19 PM »
I do no longer see bubbles.

KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #7 on: January 18, 2008, 10:14:20 PM »
You want bubbles? They are right on the other side of the brick wall. Watch out for that - *booooom*... bomb... :D


KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
UnAlien: Now Out!!!
« Reply #8 on: January 19, 2008, 03:17:24 AM »
The first (beta) version of the game is now complete!!! Download link below... :D

Controls:
Up - accelerate up
Right - go right faster
Space - fire

BTW, Lachie, sorry, but the game may be a bit slow for you, although, 1GHz should be able to run it smoothly. ;)
It gets 200+ FPS for me, so I thought it would only need 300MHz, but it was slow on a 750MHz computer.
I think the FBGFX double buffer (which always gets 60FPS, even if the rest of the program is going faster), is the cause.
You can replace game_display with if (game.frame mod 1) = 0 then game_display, though.
If I had known this would be a problem, I would have used the framerate code from Zonaxtic, which automatically skips some displaying if the game is running slowly.

UnAlien the Game (Beta): Play Now!!!
« Last Edit: January 19, 2008, 03:37:47 AM by KristopherWindsor »

ssjx

  • Forum Howler
  • ****
  • Posts: 174
    • View Profile
    • ssjx.co.uk
Re: Who am I? And where did these bubbles come from?
« Reply #9 on: January 19, 2008, 03:55:45 AM »
Hi,
This is very cool, just a quick go and got to level 6 i didn't catch the score though..

To begin with, i thought the gravity was a bit too high but it was fine once i got used to
it. The game was quick and smooth on my computer.

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #10 on: January 19, 2008, 05:51:17 PM »
The game was too slow on my PC. I do like the music you picked.

Really, is this 32-bit? I would get much better speed if I could play the game in 16-bit too. Now you'll say this is impossible. But seriously. The graphics wouldn't suffer much if it was made in 8-bit too, if at all.

BTW, I kinda liked Dark Spelunker. Another staff member quite lowered the total score. Still, it was a too simple game for some much higher score. And remember people complaining on the gravity in Dark Spelunker too. Perhaps you should revise some of the parameters in your engine.

Gonna mess with the code now. ;)

Edit: Ok, in 16-bit mode the collision is all wrong. How do you detect the background color? Use POINT for that.
« Last Edit: January 19, 2008, 06:01:39 PM by Lachie Dazdarian »
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

KristopherWindsor

  • Forum Sage
  • *****
  • Posts: 363
  • The Thirsty Smiley
    • View Profile
    • Reddit/r/pics
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #11 on: January 19, 2008, 06:20:23 PM »
You've seen the collision detection function before, and I do use point(). ;)

Code: [Select]
'from yetifoot and mysoft (I think my bounds checking may be off 1 pixel, or my computer was crashing from something else... which is likely since this is Vista...)
'#define point2(x, y, source) cptr(uinteger ptr, cptr(any ptr, (source)) + sizeof(fb.image) + ((y) * (source) -> pitch))[(x)]
#define point2 point

The only things you should have to change for 16-bit mode are:
- Const transparent = &HFFFF00FF
- Bitmap files; or can you load 24-bit bitmaps into 16-bit screens?
- The desaturation in game_over() (just comment this part out)
- Probably every use of &HFF, which indicates a 32-bit color

How should I change the gravity? It has to be strong otherwise you cannot accurately control the ship. If I lessened the gravity, it would just not be good for expert levels. ;)

BTW, you have to get to Level #9 to see the bubbles, but Level #16 is the best. :D

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: Who am I? And where did these bubbles come from?
« Reply #12 on: January 19, 2008, 06:25:00 PM »
In my programs I use POINT to detect the background color from a loaded sprite! I don't make it a constant. 24-bit images load just find in 16-bit mode.
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist