Solved Tell me more about OPB

Question that is answered or resolved.

Feelgood

New member
Hello,

I discovered this wonderful engine a few weeks ago and would like to try my hand at creating a game using sprites found on the net.

But first I would like to know what I am committed to and if it is within my means.

I am a web developer and I have notions of PhP and OOP.
Can I use oop with openbor? Is there a construct type method that would allow calling a character with basic attributes ?

I would like to create a game for at least 2 players. I like Beat them all but I hate their simplistic aspect which boils down to spamming a key for the most part and I would like to overcome this problem by adding special skills/different moves depending on the keys and why not make combos like in fighting games. What do you think?
Is possible ? Is it so difficult?
 
Last edited by a moderator:
Welcome to the community @Feelgood!


I am a web developer and I have notions of PhP and OOP.
Can I use oop with openbor? Is there a construct type method that would allow calling a character with basic attributes ?

OpenBOR doesn't work like that at all. The models, entities, levels, and basically every part of the basic game stack are built using a text based set of model sheets. The best parallel I can think of would be an .ini file. You can run a basic OpenBOR powered game without a single line of actual code. Plus there's a powerful editor made by one of our members here to do a lot of the work for you. It doesn't get any simpler.

Now that said, you're obviously going to want to write code to add functionality. OpenBOR script is event driven, and a subset of C, so your PHP work will help in that you already understand the syntax. There's no native support for classes and objects, but there is an equivalency to class members, and if you leverage those you can write your own syntactic sugar to make the code OOP. I should know - I'm the first (and so far only) guy to do that, and posted a few examples of it in our resources section.

I would like to create a game for at least 2 players. I like Beat them all but I hate their simplistic aspect which boils down to spamming a key for the most part and I would like to overcome this problem by adding special skills/different moves depending on the keys and why not make combos like in fighting games. What do you think?
Is possible ? Is it so difficult?

Every time someone asks "Is it possible?" a kola bear dies. :)

This is by no means all you can do. Not even CLOSE, but it might give you a rough idea:


This engine can produce any game mechanic you want. Full stop. It supports up to four simultaneous players. There's no netplay, but it works great with netplay tools like Parsec. Enjoy your new journey.

DC
 
Back
Top Bottom