Jump to content


Chessmasterriley

Member Since 27 Feb 2005
Online Last Active Today, 12:42 AM

Topics I've Started

Jam Voter

03 May 2013 - 03:33 AM

Aight ladies and gents! As asked, here is a WIP topic for the Jam Voter I was working on to make it easier to vote for the GMC Jam. I've included a DL link to the GMZ file because I'm having some issues with the file IO - it is inexplicable crashing - perhaps someone can work at it?
 
screenier.png

DropBox Link: https://www.dropbox....7/Jam Voter.gmz


Font Graphical Glitches

05 February 2013 - 11:44 PM

Hmm - I hope I'm not the only one experiencing this.  I'm assuming it has to do with the latest release and storing the fonts with the .gmx.  In any case, no matter what font I use, I keep getting graphical glitches whenever I use draw_text.  

Posted Image

Anyone else?

-Riley

EDIT: Bug report: http://bugs.yoyogame...iew.php?id=9348

In-Game Window Snapping

05 December 2012 - 04:26 PM

Good morning/afternoon/evening!

I am having a bit of difficulty with my user interface.  I know for a fact 'snappable' UI windows is VERY helpful when customizing a user interface and I would love to include a feature such as this in my Spark Animator program.  

My question to you is the following: what is the best way to snap floating, re-sizable windows to each other and the edges of the screen?

As it stands, I have a brute force method to snap the windows to the edges of the view with the following code:
//winX,winY - x/y of the window
//winWidth,winHeight - width and height of the window
//winSnapDistance - how close the window has to be to the edge to snap to it
if winMoving //if the window is being moved
    {
    winX=mx-winOX //make the window follow the mx with the original mouse_x offset
    winY=my-winOY //same with y
    if winX<winSnapDistance winX=1 //if window x<the snap distance(12) snap to the edge of the view
    if winX+winWidth>view_wview-winSnapDistance winX=view_wview-winWidth-1 //etc
    if winY<winSnapDistance winY=1
    if winY+winHeight>view_hview-winSnapDistance winY=view_hview-winHeight-1
    }

And a similar code for when the user is resizing the window.  

This feels clunky.  

My current idea for snapping to other windows would be store the windows horizontal edges in an array with x-segments(xstart,xend) and then check the distance between each horizontal segment and the moving window's horizontal edges.  And then a separate array for the y-segments/vertical edges.  To me, this feels horribly inefficient, but I can't think of a more brilliant way to do it.  

Here is a picture to put with the words:
Posted Image

Help?

Thanks ahead of time!

-Riley

In-Game Window Snapping

01 December 2012 - 10:33 PM

Good morning/afternoon/evening!

I am having a bit of difficulty with my user interface.  I know for a fact 'snappable' UI windows is VERY helpful when customizing a user interface and I would love to include a feature such as this in my Spark Animator program.  

My question to you is the following: what is the best way to snap floating, re-sizable windows to each other and the edges of the screen?

As it stands, I have a brute force method to snap the windows to the edges of the view with the following code:
//winX,winY - x/y of the window
//winWidth,winHeight - width and height of the window
//winSnapDistance - how close the window has to be to the edge to snap to it
if winMoving //if the window is being moved
    {
    winX=mx-winOX //make the window follow the mx with the original mouse_x offset
    winY=my-winOY //same with y
    if winX<winSnapDistance winX=1 //if window x<the snap distance(12) snap to the edge of the view
    if winX+winWidth>view_wview-winSnapDistance winX=view_wview-winWidth-1 //etc
    if winY<winSnapDistance winY=1
    if winY+winHeight>view_hview-winSnapDistance winY=view_hview-winHeight-1
    }

And a similar code for when the user is resizing the window.  

This feels clunky.  

My current idea for snapping to other windows would be store the windows horizontal edges in an array with x-segments(xstart,xend) and then check the distance between each horizontal segment and the moving window's horizontal edges.  And then a separate array for the y-segments/vertical edges.  To me, this feels horribly inefficient, but I can't think of a more brilliant way to do it.  

Here is a picture to put with the words:
Posted Image

Help?

Thanks ahead of time!

-Riley

Sui Generis

28 November 2012 - 07:12 PM

Good morning, GMC!

I hope this isn't against Off-Topic rules - I couldn't find anything against it, so here it goes!

I have never been so inclined to back a Kickstarter project until now.  I'm posting this here because I really, really want to see this game succeed.  I'll let the kickstarter page speak for itself: http://www.kickstart...863/sui-generis



First, and foremost, the quality of the game's engine is beyond many I've seen.  Second, the entire engine was developed by a team of 5 members WHILE working full-time jobs - let's see what they can do working on this game full-time, shall we?  Lastly, I think it's about time to prod the behemoth game developers down the road of better game development.  Let's make them do better than they have been!

Best,
Riley