Latest Uploads
Invasion V ... prototype

rychan

Invasion V ... Prototype

rychan

Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

Pakz

Back to rychan's Blog ( Created 06 April 2014 | Last Edited 06 April 2014)
Development Diary : More Planning and Framework Learning
No game today. but soon-ish.
Planning things in Monkey, sure is different to planning in Unity, that's for sure.

With Unity I've been more carefree when it comes to naming variables and reliant on the handy editors GUI, part of the learning process with monkey has meant changing my GUI reliant approach quite radically.

Before Unity I used mainly Flash and a touch of Visual Basic with DirectX going back to 2001 - 2005 so it's been a while since I've even written code to load assets in manually.

So, time to use one of my most rarely used programming constructs: Constants.

I'm not going to remember easily that the image in position 34 equates to the particles for a purple gem being collected, far better to use nomenclature and refer to it as IMG_PARTICLES_PURPLE that's for sure.

I've Const'd up screens, images, sfx and music assets, as integers to reduce memory footprint a touch, have more plans for extra game modes and figured out a way to save text characters with Monkeys simple LoadState and SaveState commands.

I'm planning on using "-" as a variable seperator, and prior to joining elements together, replacing all hyphens with something no-one would enter unless they just wanted to be annoying, say "|&&&&|".

The resulting array will probably need to be Const'd up (that's a thing now btw) but will be fairly flexible until I've nailed how much scope to put on this lil game.

Sadly, this means no game today. I had a feeling I'd get swept away with family, household goo and that rather epic grand prix I've just watched though.

I'm committed to Monkey now for sure, all the basics are there, just need to put them all together and fire through some free music archives at some point!

Latest Comments

Posted : Monday, 07 April 2014, 07:08
9572AD


Just don't try saving data as an image. Jayenkai's been all over that idea, and there is apparently zero consistency between targets in Monkey.

Homepage : http://9572ad.wordpress.com
Posted : Monday, 07 April 2014, 07:41
rychan


Ha! wow, that is something I've never considered doing. It could result in some interesting looking images mind you!

Homepage : http://www.refreshgames.co.uk/
Posted : Monday, 07 April 2014, 08:02
Jayenkai


Yeah, anything that doesn't use 32-bit seems to dither the image, so when you try to read the data back, you get random unexpected colours all over the place.
I originally thought that a simple "divide it by 8" should allow for any inconsistencies, but "Grrr.. Android fragmentation!!!" meant that some devices were doing COMPLETELY different things than others.
I eventually gave up.
Unless you're doing digital style black/white, its not a safe method for storing data. Unfortunately.

Homepage : http://AGameAWeek.com
Posted : Monday, 07 April 2014, 10:26
rychan


I should be playing with exporting to android bits n bobs tonight which should be fun, probably test on some low power devices first, just some stress test stuff mostly.

Homepage : http://www.refreshgames.co.uk/
Posted : Tuesday, 08 April 2014, 09:40
rychan


Small update. I did manage to get Monkey Pro working with Android last night, after going through some config gumpf but then it lost all it's ability to export Desktop Versions....Craziness!

Should be fine though, will just export to HTML5 For testing for the moment.

Homepage : http://www.refreshgames.co.uk/
Posted : Tuesday, 08 April 2014, 09:44
Jayenkai


Try shoving "#GLFW_USE_MINGW=True" into your project.
True = MinGW, False = Visual gubbins.

Homepage : http://AGameAWeek.com
Posted : Tuesday, 08 April 2014, 18:23
rychan


Cool, will give that a try tomorrow hopefully, baby depending! The lil monkey has been particularly awake n screamy tonight which sadly equals no coding times, sad panda :|

Homepage : http://www.refreshgames.co.uk/
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 648|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Any Feature Requests?
Kuron Fri 23:09
More Monkey Madness - With Ducks
therevillsgames Fri 20:23
Arms on Switch
Jayenkai Fri 18:30
Time for a new Android Test Doohickey
Jayenkai Fri 09:26
CSS-Me-Do - SoCoder2
Jayenkai Fri 06:28
Pillowcases for kids!
rockford Thu 16:15
Manchester Arena Explosion
Jayenkai Thu 02:04
Buy Zelda
spinal Wed 11:31
Family
Jayenkai Wed 04:06
RIP - Sir Roger Moore
rockford Tue 15:56
More

Latest Items
Showcase : Hives
zzoom Fri 16:10
Dev-Diary : My Journey into NES Development
rychan Thu 12:31
Showcase : Flappadiddle
Jayenkai Sun 14:39
Snippet : QFind
Jayenkai Sun 13:02
Showcase : Tiny Blocks
Jayenkai Sun 04:08
Showcase : Read Error A
rychan Fri 05:13
Blog : All my makes!
Jayenkai Tue 05:48
Showcase : Infinitron
rychan Mon 18:03
Showcase : Quadoban
rskgames Fri 10:11
Blog : My Arduino experience.
steve_ancell Wed 17:02
Showcase : Roguelike Explorer
Pakz Fri 06:59
News : Newsletter #311
Jayenkai Thu 17:27
Link : Super Shapes Exploration Kit
Andy_A Thu 11:09
Dev-Diary : Sensitive - Arduboy!
rychan Thu 17:27
Snippet : Skylines
steve_ancell Tue 14:25
More

Who's Online
Kuron
Fri, at 23:09
Evil Roy Ferguson
Fri, at 20:47
therevillsgames
Fri, at 20:23
rskgames
Fri, at 19:28
Jayenkai
Fri, at 18:41
9572AD
Fri, at 18:10
steve_ancell
Fri, at 18:04
rockford
Fri, at 16:34
zzoom
Fri, at 16:14
Pakz
Fri, at 15:20
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.