Latest Uploads
Platdude Spotting


Nom nom nom


Rainbow Trout


King Salmon




You've ... o have you


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

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 :
Posted : Monday, 07 April 2014, 07:41

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

Homepage :
Posted : Monday, 07 April 2014, 08:02

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 :
Posted : Monday, 07 April 2014, 10:26

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 :
Posted : Tuesday, 08 April 2014, 09:40

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 :
Posted : Tuesday, 08 April 2014, 09:44

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

Homepage :
Posted : Tuesday, 08 April 2014, 18:23

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 :
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 662|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Jeremy Bloody Kyle
steve_ancell Mon 09:45
Jayenkai Mon 09:06
Laptop Aaargh...
Jayenkai Mon 07:06
Changing Thumbnail Sizes
Jayenkai Mon 05:27
Technology on Planes
therevillsgames Sat 17:00
London Car/Stab Incident
steve_ancell Sat 12:10
A New Korg Gadget!
Jayenkai Sat 04:53
Happy Birthday, Spinal
Jayenkai Fri 08:40
Watch Switch - Fitbit Blaze
rockford Fri 03:52
Happy Birthday Evil Roy Ferguson
rockford Wed 16:21

Latest Items
Blog : My Arduino experience.
steve_ancell Fri 13:45
Snippet : Skylines
spinal Fri 06:13
Showcase : Infinitron
rychan Tue 03:02
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32

Who's Online
Mon, at 14:26
Mon, at 14:18
Mon, at 13:08
Mon, at 13:05
Mon, at 12:59
Mon, at 12:43
Mon, at 09:02
Mon, at 08:51
Mon, at 03:32
Mon, at 03:19
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.