Browsing '2013': Students starting in 2013

Programming Project, day 7 – part 1

Added mastervolume to the Audiomanager and animations to powerups. Powerups now get destroyed if hit by an explosion.

/ Comments Off on Programming Project, day 7 – part 1
Program: Programming

Programming Project, day 7 – part 1

Added mastervolume to the Audiomanager and animations to powerups. Powerups now get destroyed if hit by an explosion.

/ Comments Off on Programming Project, day 7 – part 1
Program: Programming

Testing

Having problems enabling comments, posting this to see if it only applies to old posts.

/ Comments Off on Testing
Program: Programming

Testing

Having problems enabling comments, posting this to see if it only applies to old posts.

/ Comments Off on Testing
Program: Programming

Game Programming 1

Updating some progress.
I sat up all night last night and learned more about what we have done at the lectures. I feel I will get the hang of what we are doing in all these codes. I also made a preliminary collider to the Zelda Project. It works if implemented in the lecture example “platformer” but may need adjustments to the Zelda-game.
A good thing is that there is no gravity in Zelda. But we will need to take in consideration […]

/ Comments Off on Game Programming 1
Program: Programming

Game Programming 1

Updating some progress.
I sat up all night last night and learned more about what we have done at the lectures. I feel I will get the hang of what we are doing in all these codes. I also made a preliminary collider to the Zelda Project. It works if implemented in the lecture example “platformer” but may need adjustments to the Zelda-game.
A good thing is that there is no gravity in Zelda. But we will need to take in consideration […]

/ Comments Off on Game Programming 1
Program: Programming

Programming Project, day 6 – part 2

Restructured the code on the explosions, made it much less bulky.
Added power ups. One for bomb limit and one for bomb firepower. The two power ups drop with a 10% chance from destroyed bricks. I need to make it so that the power ups are destroyed when hit by an explosion, but that’ll go fast.
Next up, adding an options state then filling it and the menu state with buttons and stuff.
The game actually plays like bomberman should now!

December 19, 2013 / Comments Off on Programming Project, day 6 – part 2
Program: Programming

Programming Project, day 6 – part 2

Restructured the code on the explosions, made it much less bulky.
Added power ups. One for bomb limit and one for bomb firepower. The two power ups drop with a 10% chance from destroyed bricks. I need to make it so that the power ups are destroyed when hit by an explosion, but that’ll go fast.
Next up, adding an options state then filling it and the menu state with buttons and stuff.
The game actually plays like bomberman should now!

December 19, 2013 / Comments Off on Programming Project, day 6 – part 2
Program: Programming

Programming Assignment

Hey.
We just finished the lectures for this year and now I’m back in Kramfors again.
I’ve been traveling all day, but I have managed to do some planning and breakdowns of objects on paper today.
Me and my teammate Anthon Fredriksson decided that we should try to create some sort of hybrid of Tetris and Alieninvaders, I’ve been writing down a few ideas today that I’m going to give Anthon to see if he thinks it is doable. Other than that I […]

/ Comments Off on Programming Assignment
Program: Programming

Programming Assignment

Hey.
We just finished the lectures for this year and now I’m back in Kramfors again.
I’ve been traveling all day, but I have managed to do some planning and breakdowns of objects on paper today.
Me and my teammate Anthon Fredriksson decided that we should try to create some sort of hybrid of Tetris and Alieninvaders, I’ve been writing down a few ideas today that I’m going to give Anthon to see if he thinks it is doable. Other than that I […]

/ Comments Off on Programming Assignment
Program: Programming

Turnaround

The fifth week was all about turnarounds, since all the groundwork had already been done during the construction it was not very difficult in general. I did have certain issues though but the assignment was rather time consuming than hard.
One of my biggest problems was the face, I found it really difficult to draw the same face multiple times from different angles, the draping in her clothes was the other main concern. Another problem was the proportions of the […]

/ Comments Off on Turnaround
Program: Graphics

Turnaround

The fifth week was all about turnarounds, since all the groundwork had already been done during the construction it was not very difficult in general. I did have certain issues though but the assignment was rather time consuming than hard.
One of my biggest problems was the face, I found it really difficult to draw the same face multiple times from different angles, the draping in her clothes was the other main concern. Another problem was the proportions of the […]

/ Comments Off on Turnaround
Program: Graphics

A small project plan in ppt

I mustered a small project plan in powerpoint yesterday that I thought I could show.
Vecka 1.
•Brainstorm ett spel
•Ta reda på vad är G
•Sätt ett mål på vilka saker vi ska ha med
•Skriv detta så vi har bara blogg kvar för achievementen =)
Vecka 2.

•Blogga varje kväll(fortsättning)
•Implementera en bra bas från Pong och Platformer
•Sätt sakta men säkert in de viktigaste achievementerna
•Och se till att lära oss music, stats manager och TTF + arv!
Vecka 3.

•Försök att implementera ytterligare achievements
•Håll koll på varandra! Svacka […]

/ Comments Off on A small project plan in ppt
Program: Programming

A small project plan in ppt

I mustered a small project plan in powerpoint yesterday that I thought I could show.
Vecka 1.
•Brainstorm ett spel
•Ta reda på vad är G
•Sätt ett mål på vilka saker vi ska ha med
•Skriv detta så vi har bara blogg kvar för achievementen =)
Vecka 2.

•Blogga varje kväll(fortsättning)
•Implementera en bra bas från Pong och Platformer
•Sätt sakta men säkert in de viktigaste achievementerna
•Och se till att lära oss music, stats manager och TTF + arv!
Vecka 3.

•Försök att implementera ytterligare achievements
•Håll koll på varandra! Svacka […]

/ Comments Off on A small project plan in ppt
Program: Programming

Programming Project, day 6 – part 1 (milestone)

Big news!
The game is playable! A milestone, right here!
Explosions are implemented. They destroy what they should and bombs hit by other explosions explode as well, explosions do not overlap either. The code is bulky at one point however, I need to fix that later on. Players die then in the same tile as an explosion and when that happens the gamestate is changed to the menu.

 

/ Comments Off on Programming Project, day 6 – part 1 (milestone)
Program: Programming

Programming Project, day 6 – part 1 (milestone)

Big news!
The game is playable! A milestone, right here!
Explosions are implemented. They destroy what they should and bombs hit by other explosions explode as well, explosions do not overlap either. The code is bulky at one point however, I need to fix that later on. Players die then in the same tile as an explosion and when that happens the gamestate is changed to the menu.

 

/ Comments Off on Programming Project, day 6 – part 1 (milestone)
Program: Programming

Spelprogrammering 1/ Game Programming 1

Jag och Andrée Henriksson ska tillsammans skapa ett spel i c++ samt använda oss av SDL katalogen.
Spelet som vi ska skapa ska vara ett klassiskt Tower Defence spel.
Project Plan
Game genre: Tower Defense
A simple Tower Defense with 3 different towers. Enemies walk from A to B following a path. The players objective is to put towers on the side of the path to stop them from reaching their destination.
Towers: 3 different
– Standard canon tower
– Long-range sniper tower
– Short-range heavy tower
Money: Each enemy […]

/ Comments Off on Spelprogrammering 1/ Game Programming 1
Program: Programming

Spelprogrammering 1/ Game Programming 1

Jag och Andrée Henriksson ska tillsammans skapa ett spel i c++ samt använda oss av SDL katalogen.
Spelet som vi ska skapa ska vara ett klassiskt Tower Defence spel.
Project Plan
Game genre: Tower Defense
A simple Tower Defense with 3 different towers. Enemies walk from A to B following a path. The players objective is to put towers on the side of the path to stop them from reaching their destination.
Towers: 3 different
– Standard canon tower
– Long-range sniper tower
– Short-range heavy tower
Money: Each enemy […]

/ Comments Off on Spelprogrammering 1/ Game Programming 1
Program: Programming

Game Programming 1

So, I am currently taking the Game Programming 1 course now. The first 3 lectures covered everything I knew about programming. The rest have been all new stuff for me. We have been using the SDL library commonly used in Game programming and the pace is very fast, at least for me.
We have reached the point where we were given our assignment. In pairs, we are supposed to make a 2d-game and write individual reports about its process.
My team-mate Jonas […]

/ Comments Off on Game Programming 1
Program: Programming

Game Programming 1

So, I am currently taking the Game Programming 1 course now. The first 3 lectures covered everything I knew about programming. The rest have been all new stuff for me. We have been using the SDL library commonly used in Game programming and the pace is very fast, at least for me.
We have reached the point where we were given our assignment. In pairs, we are supposed to make a 2d-game and write individual reports about its process.
My team-mate Jonas […]

/ Comments Off on Game Programming 1
Program: Programming

Working on a level editor

I´m working on a level editor to use in future games. The level editor is made in JavaScript and I will soon release it in public.
 TODO:Set custom dimension for gameAdding support for multiple layersAdding support for custom tiles – I have to make this very flexible. I have some thoughts in autoloading img from url.Adding auto generated map ready to be edited
Here is a picture of how it looks right now.

I drew this myself, […]

/ Comments Off on Working on a level editor
Program: Programming

Working on a level editor

I´m working on a level editor to use in future games. The level editor is made in JavaScript and I will soon release it in public.
 TODO:Set custom dimension for gameAdding support for multiple layersAdding support for custom tiles – I have to make this very flexible. I have some thoughts in autoloading img from url.Adding auto generated map ready to be edited
Here is a picture of how it looks right now.

I drew this myself, […]

/ Comments Off on Working on a level editor
Program: Programming

Is point within a rectangle

I came up with this neat function to check if a point [x,y] is within a rectangle [x, y, width, height].
It´s made in Javascript but can be applied to ALL languages.
// CommentUtils.pointWithinRect = function(point, rect) { var px = point[0]; var py = point[1]; var top = rect.y; var left = rect.x; var bottom = rect.y + rect.height; var right […]

/ Comments Off on Is point within a rectangle
Program: Programming

Is point within a rectangle

I came up with this neat function to check if a point [x,y] is within a rectangle [x, y, width, height].
It´s made in Javascript but can be applied to ALL languages.
// CommentUtils.pointWithinRect = function(point, rect) { var px = point[0]; var py = point[1]; var top = rect.y; var left = rect.x; var bottom = rect.y + rect.height; var right […]

/ Comments Off on Is point within a rectangle
Program: Programming