modle13
modle13
Epic Journey
19 posts
My discoveries
Don't wanna be here? Send us removal request.
modle13 · 7 years ago
Text
Haven’t posted in a while, been busy with all the things. Switched to Unity and made a handful of proofs of concept. Now making the push to get something playable built. Check out the rough progress: https://www.youtube.com/playlist?list=PLlXbceeLfevwo8YhBIg6JygA0u0EO6ADy
2 notes · View notes
modle13 · 7 years ago
Video
youtube
Selections, yo
The solution is hairy. Each of those cubes is a distinct object, instantiated on the fly.
That’s bad. Because I have to track whether I already created one for that position, and remove any that I’ve already drawn that no longer need drawn if they’re not in the current range. Then when I let the mouse go, destroy all of them and clear the tracker set.
hat’s wayyyyyy too much for a single frame.
So it runs in a coroutine. Coroutines are interesting: if a chunk of code takes > 16.666667ms (60 fps), it carries over the execution to the next frame if you put it in a coroutine; it blocks the next frame otherwise, which causes stuttering. In this case, it just runs with a `while(true)` until the mouse is released.
1 note · View note
modle13 · 7 years ago
Text
Progress Update May 2018
Progress Update May 2018
Portfolio / Works in Progress
These are my works in progress. I would consider Centipede feature complete, but there are open issues (both enhancements and bugs) that I plan to continue to work on. Resource Quest in Unity is nearly feature complete, and needs polish. The rest are in various stages of abandonment/neglect.
For each project, I keep a journal, and intend to publish a post-mortem on…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - It's Full of Flies!
Game Dev Session – It’s Full of Flies!
Impatience waiting for a creature to come eat my ship led to a new crazy game mode!
If you can survive 8 or so waves it gets easier, since the sheer amount of mushrooms makes the processing time longer than the interval timer, so everything slows way down.
It’s a feature!
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session – Leaderboards
Game Dev Session – Leaderboards
Step 1: Bask in the glory
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Karma Complete
Week-long test coverage montage
Right into the danger zone
Risin’ up to the challenge of our rival
Oh darlin’ my heart’s on fire
Lose your blues, everybody cut footloose
Key takeaways
beforeEach does not reset any spy that it sets. Will need to find another approach if this is needed. I think setting testObjfrom a copy of the target object, then spying on that is enough to avoid problems, but…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Stabilizing Tests for Karma Coverage
Game Dev Session – Stabilizing Tests for Karma Coverage
Loading the canvas libs
Now that Karma is all wired up, I can start poking at the tests.
The first problem I need to fix involves canvas-libs. knobsAndLevers uses the supporting object in canvas-libs to set a randomized initial spawn interval for the creatures. The usage is:
this.spider.initialInterval = supporting.getRandom(this.spider.interval.min, this.spider.interval.max);
But knobsAndLever…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Test Coverage with Karma
Game Dev Session – Test Coverage with Karma
Adding the Karma Test Coverage Tool
I got tired of flailing around in the dark, so after turning on the lights, I started looking into test coverage tools.
A few sources recommended Karma, so I went for it. It’s good (sorry).
Code Coverage of Jasmine Tests using Istanbul and Karma
Capturing browser with Karma
npm install karma karma-coverage
My config:
module.exports = function(config) {…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Canvas Tech Debt
Game Dev Session – Canvas Tech Debt
Addressing some of the technical debt. Not very exciting. So bullet lists.
DID:
Set up Jasmine tests in Robotron (8 specs, 0 failures)
Set up Jasmine tests in canvas-libs (4 specs, 0 failures)
Moved supporting.js stuff to canvas-libs for both Centipede and Robotron
Moved the Sound object from sound.js to canvas-libs for both Centipede and Robotron
Commits Centipede
6fbcfff
e5fab76
2155216
Robotr…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session – Twinstick Firing in Robotron
Game Dev Session – Twinstick Firing in Robotron
Planning
More gamepad updates today. This time, specifically for Robotron. I plan to integrate the controls pausing and twinstick shooting.
Pause updates
Updated pause to handle both spacebar and the + key. I should probably find an XBox controller and see if the indices of those buttons are the same as the X-input (they should be; the indices don’t change between D- and X-input, only the dPadloc…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Gamepad Controls Library Updates
Game Dev Session – Gamepad Controls Library Updates
Updating the gamepad library
Today, I’m focusing on the controls library. Goal: add right stick capturing without breaking Centipede or Robotron.
Robotron needs the right stick to handle firing. I could just leave controls.js alone and update it’s functionality in the game itself, like this:
var theControls = controls;
Then add stuff to controls like this:
theControls.aNewThing = newStuff;
Or…
View On WordPress
0 notes
modle13 · 7 years ago
Text
Game Dev Session - Nerding Out on Robotron
Game Dev Session – Nerding Out on Robotron
Pre-Feature Cleanup of Joust and Robotron
Over the weekend, I made a serious dent in the technical debt for the other canvas games, Joust and Robotron.
I spent the better part of Saturday converting the mess of functions of both games into objects. The core logic was left alone, but I did find a few functions to clean up. The diffs were pretty massive due to these restructurings, with nearly full…
View On WordPress
0 notes
modle13 · 7 years ago
Link
Make proteins. Change the world.
0 notes
modle13 · 7 years ago
Link
0 notes
modle13 · 9 years ago
Link
Behold! A Django Forms tutorial!
0 notes
modle13 · 9 years ago
Link
Free development tutorials!
2 notes · View notes
modle13 · 9 years ago
Link
Git with it!
3 notes · View notes