Author Topic: [Contest] Osmos  (Read 21210 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #45 on: June 13, 2012, 04:46:04 pm »
Nick, don't forget to localize functions you use a lot. This can give a big speed gain.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #46 on: June 13, 2012, 04:49:56 pm »
localize functions ?? how can you possibly localize a function?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Contest] Osmos
« Reply #47 on: June 13, 2012, 04:53:25 pm »
He means to make them local.

(not localized here as a language point of view)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #48 on: June 13, 2012, 04:55:22 pm »
i understand what he means :) i just don't know how..

Offline someone

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +9/-0
    • View Profile
Re: [Contest] Osmos
« Reply #49 on: June 13, 2012, 06:33:43 pm »
This link should help: LUA Performance

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #50 on: June 15, 2012, 04:58:20 am »
thanks, but i've already done all that :)

i did a little testing, and it seems like those 12 fps is more than enough to play. i increased the speed of the cells with 2.5 and now everything is ok (they were moving at a speed between 2*10^-3 and 0.2 pixels per loop, that's why it seemed so slow)

the only thing now is that i never really thought about grayscale calcs xs the black antimatter cells are really hard to see on the dark blueish background in b/w, so i'll have to find a way to solve that. also the difference between blue and red cells is hard to see in b/w xs but that's a sorrow for later, i have to make it work first :)

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: [Contest] Osmos
« Reply #51 on: July 08, 2012, 05:33:56 pm »
The graphics are great, but on a b/w calc it's a bit too difficult. I think moving is a bit too expensive anyway.
And that it crashes most of the time if you press an arrow key is a bit annoying.

Don't get my wrong, I think this is a great game and I like it very much ;)

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: [Contest] Osmos
« Reply #52 on: July 09, 2012, 05:29:37 pm »
hmbug press the right arrow key, after you select intro and the game crashes, and btw fun game.
This used to contain a signature.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #53 on: July 10, 2012, 12:32:22 am »
well, it has an error for every arrowkey press and enterkey press that does not happen in the menu part.
since i simply forgot to remove 2 lines of code (or to add about 20) it throws errors, i know about it

thanks for telling me, and thanks for the comments

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Contest] Osmos
« Reply #54 on: July 10, 2012, 04:21:15 am »
With Osmos on the calculator the initial moving speed is too slow, 1px/sec or something like that. This makes it less fun as you need to click a couple of times to move in a respectable speed (and losing lots of size). It works perfect in PCspire though .. :P

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #55 on: July 22, 2012, 05:40:11 am »
hmm, i'll change that in a later version. i did not test it with PCspire, i actually never thought of that xs i just did it with the student software and my calc of course, and it was reasonable imo..

it's sad how there are two bugs in it, it's really stupid how i forgot these functions, but yeah, they will be gone in the newest version i will release :)

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: [Contest] Osmos
« Reply #56 on: August 07, 2012, 11:39:49 am »
Nick, you definitely played too much Spore!
Spore Galactic adventures or Spore Creatures? :D

But it looks really cool! ;)
*insert supercool signature*

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #57 on: August 07, 2012, 11:51:10 am »
Nick, you definitely played too much Spore!
Spore Galactic adventures or Spore Creatures? :D

But it looks really cool! ;)

uh, what's spore? i don't know that xp
it's a clone of the real Osmos game, even the name is the same :)

but thanks anyway

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: [Contest] Osmos
« Reply #58 on: August 07, 2012, 11:53:18 am »

That's spore

OSMOS = call-stage in Spore



EDIT:
I just notices it:
SOMETHING'S MISSING!!
The cells don't have biig eyes!! 
 *.*  <-----that's how they should look like! ;)
« Last Edit: August 07, 2012, 11:54:44 am by p2 »
*insert supercool signature*

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Contest] Osmos
« Reply #59 on: August 07, 2012, 11:58:17 am »
haha, cells with eyes :o

well, it's a totally different ganme though, the osmos i know (and cloned here) is a game on itself (an android app, but now also available as computer game)