Thanks Matt! I'm definitely excited to see what things I can make with minimum knowledge.
Day 2 & 3
Open up Nova. Feels like I've forgotten everything. Code slides off me like sad jello. Today's project idea is an exploration of inputs. First thing to do is properly engage with sprites and maybe understand collisions. Group layers? Couldn't figure it out, I'll design around it and use position checks. Will investigate collisions another day. Whoops, don't know how to swap sprite image either. I'll just stack them and make them visible and invisible as needed.
Next, some experimentation to answer weird questions. How does the device detect that the crank is stowed? It seems like a magnet switch - I can trick it by carefully inserting a scissor blade into the slot. Can I control the LED? Ooh, maybe I can record using the microphone to turn it red. Does getHeadsetState() specifically detect headphones, or any metal in the jack? ...Better not test that one.
Possibly Unusual Behaviors:
- The crank only detects changes of 2 degrees at a time, and sometimes flickers between two values when left at rest.
- The LED doesn't turn on when recording audio using micinput.recordToSample(buffer, completionCallback)
- Device crashed one time when the completionCallback function fired, which is great because I got to see the cute building blocks animation. On the downside, I couldn't reproduce it, and the function seems to fire as normal after a certain number of seconds as defined by the buffer sample.
- At one point my computer asked for mic control, which I allowed (and it's still enabled in Security & Privacy settings), but I haven't been able to use the mic to interact with the simulator after that one time.
Put together some levels based on the feeling of different physical interactions with the device. Uh oh – I quit the simulator as the game was being uploaded and now my device is stuck on the 'sharing DATA segment as USB drive' screen. Ohhh this is how to delete games with malformed pdxinfo files! Great. Ejected disk and tried again, works.
Here's the result: a puzzle game where you get the red key to open the magic door, or something. thereandbackagain.pdx.zip (202.0 KB) Note: can only be played to completion on a device.