Yeah, so only 4 and half hours to be able to sleep last nite. For the sake of not sleeping in a gain and getting yelled at for it.. I once again opted to stay up well, unfortunately I couldn't focus enough to get anything done. 36 hours later I feel like a zombie with insomnia. A quick rehash of the graphics... I'm a sucker for simple clean looks. Pretty sure I've got the collision detections close enough to perfect... though I'm sure it could be simpler and faster than the way I do it. There can be an infinite amount of balls and blocks aslong as they can fit on the screen though without optimisations it seems ~2048 blocks and 32 active balls is getting close to the limits... I hit about 24-32 FPS. I'm sure some simple spatial bounds checks to eliminate the amount of collision test done would speed things up dramatically. as for now it's doing 65,356 tests just to see if any ball collided with a block. I don't see why I couldn't bring that down to around 2000 tests... but it's not needed and I've never seen a game of Arkanoid with more than 5 balls active.
I also disabled the effect of balls dieing when they hit the bottom of the screen... as it just causes the game to exit right away. To finish it off, I cleaned a fair bit of the code, splitting it into actions(functions) for easier reading. Also to make it less likely I'll edit or place any code in the wrong place. Next just need to slap together a title screen, gameover state and a simple editor for visually designing levels.
Tomorrow is magic day, so wish me luck. Last time I got my rear end handed to me over and over again. Think I got to comfortable playing casual games and wasn't ready for half the cards I went up against. I had to revive my burn deck and revamp it to counter the stupid "no win, no loose" cards and fast control decks that were being used. So far it hasn't taken me more than 10 turns to win, and if they can't remove artifacts, I can usually take the game by turn 6.
And I see black, black, green,and brown, brown, brown and blue, yellow, violets, red.
And suddenly a light appears inside my brain
Back to coding along with the hundred other projects going on in my life. Been several weeks if not a month or two since I've done more than tweak numbers. So I thought I'd put together a quick Day-Project. A clone of Arkanoid... or breakout as the young ones call it. No need for pimple jokes now. I hit the ground running on this one. Coded everything up to the point I'm at without creating a single asset, or even hitting the build button. Told myself not to over think it, just code the damn thing. So my fingers trembled on. An hour later I hit the build button... slapped a couple squares and a circle together in Photoshop... filled out a couple config files... setup a quick font with BMFont... and hit play. This is what came out.
Like I said its a day project, so I plan to finish it later after work. Since I usually only have 4 hours to sleep on Fridays... I tend to just not, and take a nap on Saturday. I'll see if I can't finish it within the 4 hours. Finished meaning to me that it should have a title screen, allow the player to enter their name, keep a persistent score across several levels. It must have a minimum of three levels different in they're own way, probably just by layout. The player should be able to loose and it should say they won, after the last level and show of their awesome score.
I think I'll take this project when it's done as a way to brush up on my math knowledge. As you probably notice it uses a very hackish way of detecting collisions and tends to respond on horrible unrealistic ways (it works though). I think I'll expand my vector3 class beyond being a struct with three floats, and make it more of a true vector rather than a free vector. I would like to use a more mathematically accurate way of detecting collisions, the point they happen and how an object should react to them. The big one, is detecting collision along an objects path, instead of detecting collision at the end of it's movement like I do now. That's what causes the instances were it hits more than one block or gets stuck inside the walls and blocks. It's because the ball can move so fast it can pass through a block before a collision is checked... and so on.
Hey if I can keep this high going.. I'll sit down and put some time into Kylar's Volcano since I haven't even looked at the project in a month. The engine should've been ready 3 months ago... go figure. Now atleast I know more of my limitations... just got to figure how to get over them and improve.
Also for yall intellect types that can read the books... I know ya out tur. If you like technology and the ways of the past... checkout 'Timeline' by Michael Chriton. It's a good read, I finally finished it. For someone who reads a book every five years it was a big accomplishment ;P. Now I got to buckle down and read the "Song of Fire and Ice" series (Game of Thrones quadrilogy). Having already watched the show, the books move at such a slow pace which is hard to get over when I know what is going to happen. I'm constantly thinking in the back of my head... "Oh I know he's going to die in the next episode... Just get to it already."
Music - a blast from the 90's. Just a couple bands I recently rediscovered after not hearing them in 10-15 years. Check em out;
The rentals - "Barcelona" or "The Man With Two Brains"
Meat Puppets - "Backwater"
Pixies - "Something Against You" - "Gigantic" (Yes that is what she's talking about)
Breeders - (wasn't going to mention them, but I mentioned the pixies, which was her first band)
Face to Face - "Resignation"
Currently this is the rules governing how water flows.
For each Cell;
-- if Cell water > threshold
---- if Cell height > neighbor height
------ if Cell water > neighbor water - height difference
-------- Spread water from Cell to neighbor
Basically, the cells height has to be greater or within a range of the neighbor. Then the cell must have more water that the neighbor before the cell will spread it's water.
The game would be turn based. Each player would start out with a hand of cards, or tokens. Each of these tokens can be anything from, units to abilities or boosts, debuffs and the sorts. Some of these will be energy producers, and generate a small amount of energy to use each turn. Which doesn't carry over each turn and instead resets. Energy is used to play tokens.
The play area would also be a grid, probably 7-9 units tall. Allowing each player to place tokens 2-4 units deep on their own side. Each turn, if a token can move it moves the stated amount. Tokens can never land on another token, If to opposing tokens would occupy the same tile, the moving token would attack. If your unit reaches the opponents side, it deals damage to the player. The goal being to reduce the players health to 0.
I don't know if that counts as a TD. A TD includes towers and enemies in a lane going towards a point -- this would be more or a Tower Wars. Instead of turn based, maybe real-time? With creep cards that could travel one of the lanes/a single lane and fight oncoming monsters, with tower cards that can be placed beside the lane(s) and fire at incoming enemies. Buffs could include stuff like faster card drawing (as in, twice/trice per "tick"), making the enemy throw away one of his cards etc.
In any case, do explore the idea, it seems interesting
Then maybe more of a RTS-TD. I just like the idea of useing abilities and other more strategic pieces, instead of just plopping down towers and hoping for the best. Let's explore the idea of real time combat. Though that would throw out the idea of drawing from a stack of cards, I think you'd either have to have a huge stack or run out eventually.
So say the player can choose a group of tokens to use, say 10 - 15 tokens, these would randomly popup as available. The player would have a 5-7 token tray of currently available tokens. Every time one is used another takes it's spot. Choosing randomly from the token types the player selected. When a player plays a unit(creature) token it immediatly begins to move along the column it was placed in. If in range it fires upon oncoming units. If it reaches the end it damages the player it hit.
The other part of that. I wanted to make long range units seem important, so what if they were able to attack units in adjacent columns? Instead of being able to jump over units. Then abilities or boosts as I was thinking of. Would be things like, +10% attack power. Also things like "Deal 50 damage to target unit", "Gain 5 life". Could help your units do more, damage or kill enemy units to allow yours to get through.
Debuffs could be things like, "Slowed for 10 seconds", "-15% attack power".
As a theme I'm thinking more a futuristic look, tanks, helicopters mass amounts of robots and lasers.
I've overwhelmed myself again. I have that horrible tendency to pile on the obligation when I reach the top of the emotional wave. Though I've never been that good at organizing my life, so it shouldn't surprise me every time it happens. It just hits me like a wave, and demotivates me. I've gone a good 5 years without promising a single thing, never led people on. Be a shadow and I'll never dissapoint. What good that has done me. Now I try to break away from that, open up and try more. What good that has done. I can't seem to find that happy middle, something I can be comfortable with. Maybe I've just never been that comfortable with my own abilities.
I was told the other day to stop judging myself based on what others have done. Then what do I judge myself off of? It could be alot worse, but I've made so many enemies it's getting harder to be positive.
Joyless and frustrated, for two months, dealing with four letter expletives and the people that start it. No offense but why do all women have to be ignorant, or uninterested? Why do people have to be so vague? I'm trying not to get angry, but I really want to break something. i really don't want to type, and i don't want to write. i don't want to talk and I don't want to listen. I still have no clue what I want to do, or even how to do it. I want to yell, but worried they'll here me. Fear for tomorrow, and the words that lead to it.
I gotta stop over thinking. Like a bad seal waiting to go bad, I've been holding it in for too long. I've literally done next to nothing for two months and am dreading getting started again. My hours just got cut back at work, so now I've got to find a new job to fill in the gaps. Yay, more money trouble, and i still can't catch up to the debts I already have. I've started playing magic again, not the PC version but the actual cards. God is it hard not to want to buy cards every day. With Innistrad coming this weekend, I've been saving my money for a booster box on release day. That can be such a money pit, with all the ideas I get from it... it's so tempting.
Am I stuck in moratorium, clueless on where my life is going, but not comfortable with were it is? Do I go back to pursuing my art, continue with programming. School is out of the question for the foreseeable future. Sometimes I feel like all I do is day dream, stuck in my head and not ready to deal with the world.
Someone gave me the idea, of going back to my art and designing flash as a way to get started. How the hell would I get started with that first?
on my left arm.. and represents the feelings of going through recovery and isolation.
soon to be across my right shoulder blade
draft of what will be wrapping around my right bicep
added cloud forming to the ecomimic, the conditions for evaporation and rainfall aren't active, so what you're seeing the effect that wind has on the clouds. The second part, with the green. That is the atmospheric pressure which simulates the wind, the last section is the air temperature being altered by the water and the wind.
I think I need to reorganize the way the calculations are being done next. To hopefully fix the problem I'm having with simulating the evaporation and rainfall.
There's vegetation, represented by the green dots. but there's no discerning between what types of vegetation they represent. So what should define a plant? So far the basics are;
- waterThreshold - how wet the soil can be before it's starts to die off
- nutrientRequirement - how many nutrients it needs per tick to grow
- growthRate - how much it grows per tick
- decayRate - how fast it decays if it doesn't get enough nutrients
- spreadRate - how fast it spreads to new territory
- fruitProdRate - how fast the plant produces fruit
Firstly though, I putting together the atmosphere layer. To have clouds that form from water vapor, and cause rain the returns the water to the soil. Each tile will have a temperature, which effects how fast the water evaporates. I then use a randomized layer of pressure to generate wind across the tiles that slowly moves the atmosphere across the land.
Think of a layer in the grid with each tile having a random number. This layer is then moved in a direction each tick, to simulate the spinning of the earth. Depending on how high the pressure currently in the tile, it'll pull some of the atmosphere from tiles near by with higher pressure. hopefully that made sense I'll have to put some pictures together.
Then I was thinking about animals and how could I keep them simple but still be able to mess around with ai. I'm leaning towards just having a simple ai that, constantly looks for food once it reaches a hunger threshold. If it isn't hungry, it just makes sure it's either near it's kind or away from bigger threats. I'm not sure though.
What's happening you might ask, well let me tell ya. The shades of brown represent how fertile the soil is. The darker it is the more nutrients are in it. Similar, the darker the water is the deeper or more water is on that tile.
Water spreads out when there is too much in one tile, but likes to stay at a certain range, and stays similar to it's neighbors. I'm adding plant life to it, that will also stop the spreading of water, and drain the water. Right now water replenishes the nutrients of it's neighbors, and the plants take away nutrients from the soil.
Here's a couple more treats for ya...
Postie13 Jan 2015 - 17:59
coremarq23 May 2014 - 09:38
Norman Barrows18 Feb 2014 - 15:32
mark ds15 Feb 2014 - 18:54
Shuuny19 Jan 2014 - 06:41
uselessChiP23 May 2013 - 03:07
Gaiiden21 May 2013 - 22:25
alfith01 Apr 2013 - 15:17
O-san29 Mar 2013 - 14:15
Nick Gravelyn28 Mar 2013 - 15:44
Programmer1627 Mar 2013 - 09:31
bitskull27 Mar 2013 - 04:34
EWClay27 Mar 2013 - 01:08
ExPixel26 Mar 2013 - 17:15
kseh26 Mar 2013 - 17:09
dmatter26 Mar 2013 - 16:06
FLeBlanc26 Mar 2013 - 15:56
lask126 Mar 2013 - 15:31
CC Ricers26 Mar 2013 - 14:40
Ectara26 Mar 2013 - 14:37
Milcho26 Mar 2013 - 11:18
Michael Tanczos26 Mar 2013 - 10:58
CableGuy26 Mar 2013 - 10:49
Gunthera26 Mar 2013 - 10:12
stannic26 Mar 2013 - 09:05