Stream

Join this community to post or comment
 
TexturePacker creates sprite sheets for your game engine
1
1
Add a comment...

Aaron

Discussion  - 
 
having issues with my game
https://github.com/apalm1341/quintus-game
here is my game
I am having trouble adding in ghost enemies in my 04 level
black screen shows up in browser when running it via local server
I did a revert in github desktop app
maybe that screwed something up
not sure
you should be able to look at the 04 files via that link
but won't be able to play the 04 level
cause the link to 04 level is for local server
using the quintus game engine
1
Add a comment...
 
How to focus back to stage after unfocus.
Coz my game has javascript popup , so after I'd clicked to close popup , then the game is not active. I must click on stage before play the game.

Do you have any solution to fix this problem?

Thanks a lot
1
Михаил Мулюкин's profile photo
 
if you use jquery try - $(your_canvas_selector_or_id).focus();
Add a comment...

Aaron

Discussion  - 
 
Hey all. I need help with a game I am working on. Does someone use gitter so I can talk to you through that. It would be easier. I could just send private messages.
1
Add a comment...

Garry Zloy

Discussion  - 
 
Hello! How can I deploy quintus game on mobile?
1
Garry Zloy's profile photoMayckon Bernardes's profile photo
5 comments
 
You should have a local web server only if you want to test your application without compile.

To compile it you can send your files to de cocoonjs online compiler.

It's free and easy.
Add a comment...

James Menendez

Discussion  - 
 
New issue found. LoadTMX() function does not fire in IE11 on Windows: please answer on github ticket:

https://github.com/cykod/Quintus/issues/187
Steps to reproduce: open your game in IE11 on Windows with loadTMX() function instead of load. Works in all other latest browsers (chrome, firefox, safari and edge).
1
Add a comment...

Ethan Tremblay

Discussion  - 
 
Hi!
Is there are any possible ways to make the "fog of war", or reduce the size of the visible region of current player? Thnks!
1
Peter White's profile photo
 
There is, but there's no easy way. I was working on a project that uses a fog of war and the way that I did it was I created a 'fog' TileLayer that went over top of the ground tiles game. Any tile that is visible by the current player gets set to a transparent tile, whereas any tile that is not visible is set to a darker tile. You can use the TileLayer's setTile function to change the tile when you need to.

You can take a look at my game (it's very incomplete). Load it up in two windows so it 'matches' you with an opponent so the game will begin.

Here's the GitHub repository: github.com - waroflords

You should find how it works mainly in game.js at around line 85 and 191.

Keep in mind, this is tile-based fog of war, so the fog will always be tile shaped (at this point).
Add a comment...

Renan Luz

Discussion  - 
 
Hello,
I'm trying to make a game that when the player enters the collision mask displays a scene and when leaving the masks the scene has to disappear.
how I do that?
you guys can help me please?
1
Add a comment...

Diego L

Discussion  - 
 
I'm unclear on the subject. How does the Touch module handle mouse events? Does this include all mouse buttons? How does one retrieve the cursor position when there is no click?
1
Stuart Rodriguez's profile photo
 
Q.el.addEventListener('mousemove',function(e) {
var x = e.offsetX || e.layerX,
y = e.offsetY || e.layerY,
stage = Q.stage();
// Use the helper methods from the Input Module on Q to
// translate from canvas to stage
var stageX = Q.canvasToStageX(x, stage),
stageY = Q.canvasToStageY(y, stage);
// Find the first object at that position on the stage
var obj = stage.locate(stageX,stageY);
// Set a `hit` property so the step method for the
// sprite can handle scale appropriately
if(currentObj) { currentObj.p.over = false; }
if(obj) {
currentObj = obj;
obj.p.over = true;
}
});
Add a comment...

Michael Liu

Discussion  - 
 
http://www.html5quintus.com/documentation

Hello! I wrote a tutorial a while back that's featured on the quintus documentation website. I've recently updated my github username and as such my blog URL changed. Can you update the "Quintus and Sockets.io Multiplayer Game Tutorial" link to point to my new url?

http://mliu.github.io/2014/07/13/Creating-an-online-multiplayer-web-game-using-Socketio-and-Quintus-Part1/
Quintus is an easy-to-learn, fun-to-use JavaScript HTML5 game engine for mobile, desktop and beyond! The Quintus Guide. The best way to get started with Quintus is to read through the guides to get an understanding of the engine and the philosophy behind it. Introduction · Core Quintus Basics ...
2
Peter White's profile photoMichael Liu's profile photo
2 comments
 
No problem man! Happy that it's been helpful to others :)
Add a comment...

About this community

Community for the Quintus HTML5 Game Engine. Engine is currently v0.2.0 and is for adults only.
1
Andrew Beehler (Meadock)'s profile photoPeter White's profile photo
3 comments
 
Well, the community page here is basically dead. I've still been using Quintus in the tactical RPG that I'm making, so I might have a few useful bits of code to share eventually (like text wrapping Q.UI.Text).
Add a comment...

Seul Lee

Discussion  - 
 
I am using mac book and Bracket as a coding tool. I made my own TMX file but I wonder why it cannot read it in quintus. How do I do this? thanks!
1
Peter White's profile photo
 
The tmx file could be corrupted. What kind of errors are you getting in the Javascript console? Are you using Tiled to make your tmx?
Add a comment...

Peter White

Discussion  - 
 
I was making a one-way platform today that you can jump up through, but can't fall back down (unless you press down). After searching through the community I realized that this question has been asked a few times, but it didn't have a good answer.

Q: How do you change a sprite's type after it is added to the stage?

A: If you want to change a sprite's type after it has been added to the stage, you need to change the collision grid as well.

Here's a function that I put together that you can run when you want to change a sprite's type whenever you want.

Q.Sprite.prototype.changeType = function(type){
this.p.type = type;
this.stage.delGrid(this);
this.stage.addGrid(this);
};

To call it, go something like:
this.changeType(Q.SPRITE_NONE);

The two grid functions are in quintus_scenes.js at around line 626.

Hopefully this helps someone in the future.
1
Add a comment...

Aaron

Discussion  - 
 
Hey all. Can someone help me with my game I am working on? I am using quintus and want my sprites to stay on cliffs and not fall off of them. I also want ones that are already on the ground that I initially placed there to stay there. 
1
Peter White's profile photoAaron's profile photo
12 comments
Aaron
 
Hey Peter. I actually was able to fix my issue, however am running into other issues with my vertical enemies that I just made. Only one of my vertical enemies moves up and down and the rest r just kinda like floating in mid-air staying where they r not doing anything. Also, boxes that I added to my level that I used tiled for r not showing up either but r still there somehow. They r invisible but I can jump on top of them and land on top of them making it look like me as the player is floating in mid air. I am also getting an Uncaught reference error that says "that" is not defined in my JavaScript in my enemy file I believe. Have any ideas as to what is going on now? Also, would u mind sending me your email so I can get in touch with u about this? Thank-you
Add a comment...

José Romero

Discussion  - 
 
Hi, I am trying to create android game with quintus. after I have installed the apk (created with cocoonjs) on my phone , the collision detection isn't working.

Hola, estoy intentando crear un juego android con quintus. Después de haber instalado la apk (creada con cocoonjs) en mi teléfono, la detección de colisiones no funciona, todos los personajes se caen del escenario xD, lo curioso de todo esto es que la detección de colisiones funciona los primero 10 segundos del juego, luego ya no xD, ¿alguna idea de porque podría ser?
 ·  Translate
1
Add a comment...
 
Hello guys, I'm developing an educational game for children water rationing. I'm still working on it but follow the link to contribute to the community.
The game is in Portuguese but in the future will have in English as well.

Suggestions are welcome! :D

1
Renan Luz's profile photo
7 comments
 
Hey guys, today I made updates to the game and made children a high school class playing the game. It saved all actions made by them.
190 games and 1,500 entries were generated.
Now I will make a few more adjustments and get more children playing and then I will apply the data in data mining algorithms.
Long live the quintus. :D
Add a comment...
 
hi everyone, i need help with 2 quetions,
first of all, i used

stage.insert(new Q.Repeater({ asset: "background-wall.png"}));"

for repeat an image on background and work perfectly. My quetions are:

1. Is there some way (method, property or somethin like Q.Repeat) in sprite for repeat a image inside it (a dot of 10x10 px for example).

2. Is there some way to modify the "p.w" property dynamically for a rotated sprite ; for example. i have a rotaded rectangle 45 degrees, supposed the widh and heigth of the rectangle is 50 and 10 px respectively,
* i need resize the widh of rectagle dynamically.(remember is rotated)
* without rotated rectangle the widh is the same "p.w" of the SPRITE but change on rotated sprite
*i need. if i have a button , press it, and change the widh of the rectagle rotated.

Thanks. for your time, and excuse my english...

1
Add a comment...
 
Hello everyone. I am in search of a good game HTML5 library, and I really like Quintus. Now I have only one question: It is possible that one element was a mask of another element? How to implement masking?
1
Раис Сафиуллин's profile photoPeter White's profile photo
3 comments
 
Ah no, I don't believe it's possible with Quintus.
Add a comment...

Peter White

Discussion  - 
 
Does anyone know how to resize a Q.UI.Text after it has been created? I'm trying to size some text to fit a space, regardless of how many characters are in the label.

It would be nice if I could just change the p.size and have it change size. calcSize() doesn't seem to do anything after the object has been created.
1
Add a comment...