* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Flowers!  (Read 8701 times)

0 Members and 1 Guest are viewing this topic.

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Flowers!
« on: April 29, 2015, 11:38:50 pm »
NOTICE: There is a git repo available here: https://gitlab.com/Strontium/flowers

I am creating a game where you program a plants DNA to allow it to survive in the given environment. DNA is edited in segments of four, and each segment does a different thing. So a segment dedicated to leaves could allow you to change the type of leave, wether that means its a light leaf, dark leaf, fuzzy leaf, whatever. (Yes, each type of leaf in nature has its pros and cons, they are not just like that to look pretty!)

For each plant you create, there will be some undocumented DNA segments that randomly generate in a different place each time. It is up to you to experiment with the undocumented ones to see what they do & utilize them.

You can see how much water, nutrients, and sunlight your plant it getting (all relative to its size) in the stats screen:

(the white borders are a bug in the emulator :P)

There will also be a screen where you can see your plant, and observe the environment. How much rain? How much sun? How good is the soil? Using what you can see on this screen will help you create your plant.

My TODO list, in order of priority:
-- finish stats screen (complete)
-- finish plant visualizer
-- make DNA editor
-- write the simulation code
-- score & failure screens

After the contest I am going to allow myself to expand into 8x6 or maybe 12x9 so I can add more features in stuff in order to make it more intuitive and fun.
« Last Edit: August 10, 2015, 01:00:59 am by Strontium »


  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #1 on: April 30, 2015, 12:00:24 am »
Huh. Tested this on a real calc, *some* of the white lines are real. But I have no idea how to fix them or why they are there D:
Edit: Fixed them by rounding the outputs of the functions I used to get the window dimensions. Thanks math.ceil()!

Now all of the extra lines are bugs in the emulator, not in my code:
« Last Edit: April 30, 2015, 12:06:53 am by Strontium »
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18238
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Flowers!
« Reply #2 on: April 30, 2015, 03:43:25 am »
Interesting idea. Will the leaves always have a green color or can they sometimes be represented with something else? What about sun, heat, cold, rain, etc?
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #3 on: April 30, 2015, 03:45:56 am »
On the plant screen, the sun will be in the upper right corner as a single pixel. The brightness represents how much heat and sunlight is being given off.

When it rains, the sun will be blocked by a cloud and blue pixels will fall from the sky.

I could make it so your plant could be different colors, but it would be only for aesthetics. Doing anything more advanced with colors would require more space.
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18238
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Flowers!
« Reply #4 on: April 30, 2015, 03:49:26 am »
Aah ok thanks for clarifying. Sounds like a better move to put it at the top in a corner, since that's where it normally is. :P. I also like the rain drop idea. Or you could just replace the sun with an invisible pixel when it's cloudy, blue when it's rainy and gray when it's snowing.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #5 on: April 30, 2015, 03:51:07 am »
But thats lame.

And now I want to include snow, but without being able to make it much more advanced I don't know how to implement it...

something something cold adapted something something surprise global warming something something BURN!
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18238
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Flowers!
« Reply #6 on: April 30, 2015, 03:55:30 am »
You could maybe focus on the basics for now since after all plants usually can't grow in a snowy environment anyway. The most common conditions are hot, warm, cold, dry, wet, rainy, cloudy and sunny.
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2764
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • View Profile
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: Flowers!
« Reply #7 on: April 30, 2015, 05:51:01 am »
I have a feeling this will be the most original. :P

Anyways, that is a pretty cool idea, blending ed with games.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3155
  • Post Rating Ratio: +31/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • View Profile
    • quantuminfinity
  • Gender: Male
Re: Flowers!
« Reply #8 on: April 30, 2015, 08:03:39 am »
Very, very cool idea :D
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #9 on: April 30, 2015, 08:56:10 pm »
Thank you :walrii:
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #10 on: May 01, 2015, 01:57:27 am »
UPDATE TIME!

I've begun working on the environment viewer screen. So far, the sun varies brightness depending on how much light it should give off, and the quality of the land is displayed in the color of the soil (light green is the best, dark brown is pretty good, light brown starts to suck, and then theres a bunch of different yellows for desert. There are also other colors for the land, those are just some examples).

This part is half-way done, though, because displaying the plant depends on its DNA, which I have not yet implemented. As such, I will begin work on the DNA editor tomorrow. Once the DNA editor is done, I'll be able to finish the plant visualizer.

Once I finish the plant visualizer, I'll begin working on the simulation code.

  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Online DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18238
  • Post Rating Ratio: +91/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: Flowers!
« Reply #11 on: May 01, 2015, 05:52:30 am »
The layout is much better this way :)
  • Calculators owned: TI-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)
??? ??? ??? ???

Offline Strontium

  • Full User
  • Join Date: Apr 2015
  • Location: CA
  • Posts: 226
  • Post Rating Ratio: +2/-2
  • hey
    • Unilunge
    • /u/thismarkstheend
    • Azmarok
    • View Profile
  • Gender: Female
Re: Flowers!
« Reply #12 on: May 01, 2015, 05:55:11 am »
The other screen still exists :P Its kinda necessary so that the player can understand what is going on with the plant. Showing the environment with a image instead of some status bars is a lot more pleasant, which is why I am doing that here.

Unfortunately, the DNA editor wont be very pretty. Once I expand into 8x6 after the contest, though, I have nice plans for it.
  • Calculators owned: TI Nspire CX, HP Prime
  • Consoles, mobile devices and vintage computers owned: NES, LGv10, x220
FRC 4711 represent

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3155
  • Post Rating Ratio: +31/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • View Profile
    • quantuminfinity
  • Gender: Male
Re: Flowers!
« Reply #13 on: May 01, 2015, 09:25:20 am »
I like the sun and the grass. Very clear what's its supposed to be, and looks nice ;)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline alexgt

  • Just your friendly neighborhood Ninja Stach Fancy Iron Man
  • Super User
  • Join Date: Dec 2014
  • Location: Behind you
  • Posts: 2611
  • Post Rating Ratio: +6/-1
  • Something should go here...
    • /u/alexgt9123
    • View Profile
  • Gender: Male
Re: Flowers!
« Reply #14 on: May 01, 2015, 02:09:23 pm »
Air pollution would be a nice touch.
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games