xywh Game Engine - easy, light, fast, source!

Game development specific discussions.
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

BasicCoder2 wrote:Unfortunately I get,
.zip files can’t be previewed
And it must be a large engine if even the zip is this large,
xywh-Game-Engine English.zip · 5.46 MB
No I don't agree with terms or want to sign up to anything just for one file.
.
:)
The engine is small.
242KB.
It contains a number of examples.
There is also the use of manual.
I hope someone can help me upload it to the GitHub in other countries.
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

Imortis wrote:
BasicCoder2 wrote:Ok, Thanks I have downloaded it but not sure what to do with it.
I tried to compile one of the .bas files but apparently I lack a required .dll file.
.

For the engine itself, the directory structure chosen by xywhsoft was rather odd. I was only able to compile successfully using the FBP project files (FBEdit's project file format). I tried making a project file for the poseidenFB for the the library itself, but failed on my first attempt with the same error as you. Since I was able to compile through FBEdit, I considered it low priority.

The compiled version of the library can be found in several places in the "Publish" folder. The "release.bat" file copies all the newly compiled files and headers for the library to all the important folders in the "Publish" folder.

Sorry if it is confusing (it was to me), but all I did was change the language on everything and make sure it still worked after. I did not change the directory tree from what was in xywhsoft's code repository, aside from removing the C examples (I didn't think those were needed and it helped to cut back on the download size).

I learned a good bit about how to use the engine in the process of going through all the code, so I will be glad to answer any english questions I can on behalf of xywhsoft, assuming they don't mind.
I don't mind.
I want to be able to contribute to freebasic.
Thank you, good job!
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

BasicCoder2 wrote:
Imortis wrote:I learned a good bit about how to use the engine in the process of going through all the code, ...
Perhaps you could use it to write an actual game demo?
.
In fact I developed a complete game demo.
But I used someone else's image and audio.
So I can't release him.
I'll be ready for some simple images, To make a new one demo.
I don't paint, Can only guarantee that the code is available.
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: xywh Game Engine - easy, light, fast, source!

Post by leopardpm »

xywhsoft wrote:
BasicCoder2 wrote:
Imortis wrote:I learned a good bit about how to use the engine in the process of going through all the code, ...
Perhaps you could use it to write an actual game demo?
.
In fact I developed a complete game demo.
But I used someone else's image and audio.
So I can't release him.
I'll be ready for some simple images, To make a new one demo.
I don't paint, Can only guarantee that the code is available.
I think as long as you attribute the images and sound to their authors, AND you are not selling your game, then there is no problem....

In any case, provide the game without the respective pieces, and give descriptions of the graphics and sound

for instance:
This game requires 3 animated sprites:
Sprite #1
filename =
SizeX =
SizeY =
# of animation frames =
# of directions =

This game also requires 5 audio files:
Audio #1
filename =
short description = "This sound is an explosion" or "This is a footstep"

then we can make our own 'filler' graphics and sounds and still test your game/engine...
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

Use engine description:

1. #libpath "directory"
This directory must exist libxge.dll.a
It is a necessary link library

2. #include "xge.bi"
include XGE header file

3. Attempt compilation.
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

Here is an old version of the code.
use XGE 0.6 (The latest version is 0.9).
Code is very simple.
But he's a complete game demo.


git : http://git.oschina.net/xywhsoft/xTank


I use China's GitHub, Because it's faster here.
But in other countries may be slow or experience is very poor.
Hope someone can upload him to the better service providers inside.


ps : How do I upload the picture?
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: xywh Game Engine - easy, light, fast, source!

Post by leopardpm »

xywhsoft wrote:ps : How do I upload the picture?
for images within a forum post, I use https://postimg.org/

for image files to be downloaded, I use https://www.mediafire.com/
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

Image

Image

Image

Image


thank you leopardpm.
The image of the game demo has been uploaded.
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: xywh Game Engine - easy, light, fast, source!

Post by leopardpm »

xywhsoft wrote:But he's a complete game demo.

git : http://git.oschina.net/xywhsoft/xTank
oh, it wants me to 'sign in' in order for me to download... how about you zip it up and put onto media fire (link above) so we can download without signing in? We got alot of very cautious people in this forum....
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: xywh Game Engine - easy, light, fast, source!

Post by leopardpm »

drats, can't read the Chinese in your screen shots - guess I should have taken Chinese instead of Spanish as my second language, but who could have guessed back in the early '80s?
xywhsoft
Posts: 74
Joined: Aug 28, 2009 6:28
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by xywhsoft »

leopardpm wrote:
xywhsoft wrote:But he's a complete game demo.

git : http://git.oschina.net/xywhsoft/xTank
oh, it wants me to 'sign in' in order for me to download... how about you zip it up and put onto media fire (link above) so we can download without signing in? We got alot of very cautious people in this forum....
Do not need to be registered download url : http://www.mediafire.com/download/ocq6v ... 8/xTank.7z
leopardpm
Posts: 1795
Joined: Feb 28, 2009 20:58

Re: xywh Game Engine - easy, light, fast, source!

Post by leopardpm »

pefect - got it downloaded...

but, I can't run the EXEs, nor can I build my own EXE from the FBP file... not familiar with using Geany, my own fault - I use FBide... less robust, but simple and easy.... will wait for someone to maybe figure it out...
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by St_W »

leopardpm wrote:but, I can't run the EXEs, nor can I build my own EXE from the FBP file... not familiar with using Geany, my own fault - I use FBide... less robust, but simple and easy.... will wait for someone to maybe figure it out...
It's actually very simple to compile, as there's only a single compilation unit. Just use the following command:
fbc GameProj.bas GameProj.rc -x Game.exe

Afterwards move the Game.exe into the "发布目录" folder. According to Bing/Google this translates to "publishing directory"; unfortunately I can't verify as I don't have a clue about the chinese language :-(
The FBEdit project didn't work for me neither, because FBEdit unfortunately does not support Unicode (and I'm using a different ANSI charset) so I had to replace all paths containing non-english characters to get it working.
The compiled executable works fine on my system (Windows 8.1 x64).

Btw, one can download the original GIT repository just with:
git clone https://git.oschina.net/xywhsoft/xTank.git
(however it's very slow from here, about 5 - 10 KB/s)
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: xywh Game Engine - easy, light, fast, source!

Post by Tourist Trap »

xywhsoft wrote: ps : How do I upload the picture?
Here it's fast : http://poubelles.be/upload.php.
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: xywh Game Engine - easy, light, fast, source!

Post by St_W »

[offtopic]
Tourist Trap wrote:Here it's fast : http://poubelles.be/upload.php.
Doesn't look very trustworphy IMHO and french only. Additionally isn't very comfortable as it does support multi-upload, drag & drop or Clipboard-paste (Ctrl-V). A widely used site is e.g. "imgur.com"
[/offtopic]
Post Reply