owl's Blog

Profile
Forest of Tantrevalles
Software development and life.
30 comments
26 entries
Advertisement
owl
June 04, 2011
Saving and loading levels
I missed Gaiiden's scroll for a day. Too bad! I've been sort of busy *ahem*

I've been making some more tiles to see what this thing can do. I also added the ability to add tilesets to levels and save and load such levels.
Moved the character's controlling logic to Lua and it seems to work just fine.

F…
1,950 views
owl
May 27, 2011
Bringing the tools together
It all started with the UI library. Then it followed the skeletal animation loader. After that the model visualizer. The scene partitioning and the level editor.

Then there was a little lapse to implement lua scripting.

As the "game" is going to be "tile" based I'm needing to also make a tileset edi…
1,818 views
owl
May 16, 2011
Let me introduce you: "Teh" LEVEL Editor (lol I can't think anymore
I think my brains are just gonna asplode!

I've been coding this thing for 24 hours straight, with the help of 48 cigarettes, lots of (diet) coke, cookies and sandwiches.

Most of the work was interfacing all my framework with Lua. The interface file is more than 50.000 lines of code (auto generated o…
2,163 views
owl
May 13, 2011
Aww, I love my Lua!
app = owl.get_app()

function btn_new_game_click()
print (app.clock:get_fps())
end

-- Create Button New Game
btn = owl.create_button(app.gui.root)
btn:text("New Game")
btn:move(200,200)
btn:resize(600, 40)
btn:on_click(app.script, "btn_new_game_click")
btn:center_horizontally(app.gui.root)

label = owl.crea…
1,738 views
owl
May 09, 2011
If it don't take two..
I've been fighting with the character's movement for the last two days. I got stuck at trying to apply gravity in a time based manner like for a day, after which I decided to cap the character's movement and collision detection to 36fps which isn't THAT bad after all, at least for now.

Because of th…
1,561 views
owl
May 04, 2011
Octreezing the world
Got it. I made the octree class and I'm able to push the meshes geometry into it. The algorithm for character collision against the world is something like this:

  • Get character's AABB.
  • Set's character's AABB position to current character's position.
  • Add velocity vector to character's AABB position.
  • Pass…
1,898 views
owl
May 01, 2011
Finding data structures that make sense
Last time I was showing how I managed to load a big mesh for the level and to wrap the character model inside an ellipsoid and make both collide using Kasper Fauerby's Swept Sphere collision algorithms. Since then I've been working in the data structures necessary to organize the level components a…
1,350 views
owl
April 29, 2011
Samsara, a word I've been hearing a lot lately..
According to Wikipedia:

[quote]a [font="sans-serif"][size="2"]term which translates as "continuous movement" or "continuous flowing", which, in Buddhism, refers to the concept of a cycle of birth (j?ti), and consequent decay and death (jar?mara?a), in which all beings in the universe participate, an…
1,553 views
owl
April 17, 2011
Collision is gameplay, that's what a guy said.
And it's true. I'm now playing with different configurations for the character to run, jump and respond to collisions.

Ideally, the collision would be against the current character's skeleton pose. In reality I'm still unable to figure out how to make that work.

So, for what is worth, this is how i…
1,519 views
owl
April 17, 2011
Some youtube research: Underrated Indie Games
I found a playlist which is a series of video captures of indie games that never saw much public light. Quite interesting to watch.

Here the youtube search to get the playlists
1,632 views
owl
April 16, 2011
Nicotine, Caffeine, Platformer and Collision Detection
Well yeah, I've come to the realization that I cannot code without nicotine. And I must code if I plan making some money out of my programming job. I'm also trying to save some cash thus I'm not going out neither. What's left? Well...

I managed to make two animations with Blender3D for my rag-doll, …
1,088 views
owl
April 11, 2011
Toying with animations
I'm currently researching how to implement Cal3D animated models *Properly*.
So far I managed to make 2 animations with Blender. Next step will be loading them in a test program and making them execute on a user action.

A screenshot of the Action Editor in Blender



Enda video of two animations inside …
1,047 views
owl
April 04, 2011
Lua scripting with SWIG - Calling a Lua function from C++ and passing parameters to it
As I said in my last entry SWIG is a very easy and straightforward way of exposing your C++ functions, data structures and instances to Lua scripts. If you're not interested in learning the prestidigitation that occurs behind such an act SWIG is the library you're looking for.

Yet not everything in …
8,220 views
owl
March 17, 2011
Lua scripting and quitting cigs
I always wanted to be able to add scripting capabilities to my programs but it was the kind of subject that always lead me to procrastination.

I've been without smoking for 3 weeks and 3 days and I'm doing quite fine. I'm already starting to feel a lot better (and smell better). I went totally cold …
1,181 views
owl
February 17, 2011
Art. Or about how I cannot make it.
I'm currently fighting against 3D modeling, animations cycles, proportions, imagination, style, drawing-skills in order to see if I can make up a decent load of artwork to start pushing some sort of game on the road... And It's becoming a really hard task.

Destiny doesn't seem to accompany my weak …
1,143 views
owl
February 13, 2011
Model Editor - Custom File Format
After a week or so of great procrastination I finally made some progress with the model editor.

As the title prays, it is now capable of loading xsf, xmf and xaf files (Cal3D XML) and saving them in binary format in a custom file of my own.

The file format I implemented is actually quite naive:

FILE_T…
1,302 views
owl
February 04, 2011
Model Editor - Animations
Hello gamedevers!
The thing keeps going, now it can add animations and play them at will.

I'm having problems understanding what's the logic behind blender3d rotating my models depending on if it has a skeleton parented or not... I'll eventually get it I guess.

Videooooo
[media][/media]
1,111 views
owl
February 02, 2011
Model Editor - The Beginning
I woke up this morning like 7am (after sleeping the hangover for almost 18 hours) and I must admit I felt quite well.
I dreamed a lot. One of these dreams was about a house I used to live in some other town. I was re-building the front wall with high quality bricks. My entire family was there, incl…
1,010 views
owl
January 30, 2011
GUI Update - File Dialog
I made some little more progress on the GUI library. The file select dialog is now fully functional.

I've divided the GUI in 3 layers: Children, Floaters and Dialogs.

  • Children is the tree that holds most of the controls.
    • Floaters is where things like drop-down lists, menus and tool-tips go. This was…
1,052 views
owl
January 28, 2011
Journal Update: More KARAOKE.
Yep. The guy is still on sleep deprival and karaoke.

I could have picked an easier one but well, who cares!


Teh Horror!
906 views
owl
January 25, 2011
What to do after you're 35+ hours awake: KARAOKE
That's right. You borrow someone else's computer microphone, find a song you like with the vocals removed on the internet and then you sing like a dying dog! If you feel like playing "Music Producer" you can get some free sound editing app to make sure everyone can witness how much you suck at it!

W…
1,084 views
owl
January 20, 2011
GUI: I think I'm done for now + video
I finished coding the ListView and ComboBox controls. It was really hard cause I started procrastinating real bad. I was like blocked or maybe just sick of thinking how these controls could be done easily and efficiently. As if that wasn't enough last night and the night before I went to the bar so…
1,020 views
owl
January 17, 2011
GUI update
I've been making some more progress with my OpenGL based GUI. I got the Textbox control to properly handle unicode characters though I couldn't make tildes to work yet. I'm guessing that maybe it won't be possible with SDL and I'm gonna have to do it char by char myself (which would suck).

I also fi…
1,017 views
owl
January 15, 2011
Comments on my entries weren't visible
I think I've got ghosts on my gdnet account! I had my blog settings set to "Approve all comments" and for some reason they weren't visible. Some minutes after I approved them by hand they became visible. This felt something like when I can't find my keys.

Please let me know if you cannot read the co…
977 views
owl
January 14, 2011
My OpenGL-SDL GUI
Yes, after years of hanging out at night, tons of gallons of beer and a couple of hundreds of women I'm back at my project.

Here a screenshot:



What you see here is an OpenGL-SDL based GUI from my own kitchen. In the background there is a skeletal animation of a 3D model using the Cal3D library.

So far…
1,997 views
owl
January 13, 2011
Introducing myself
I've always been fascinated by computers. As far back as I can remember. The sole idea of a human invention that could solve problems and eventually become complex enough to perform actual human tasks has always amazed me. I remember myself as a kid, getting completely absorbed by movies like War G…
995 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement