Search found 4 matches

by funkey
Wed Jul 18, 2018 5:34 pm
Forum: Code Snippets
Topic: 2d matrix for 2d transformation and drawing
Replies: 3
Views: 7828

Re: 2d matrix for 2d transformation and drawing

Quick semi tested mouse click


s32 test_point(f32 x, f32 y)
{
// invert transformation
transformation->invert();

// transform our screen position
f32 ptx = x;
f32 pty = y;
transformation->transformXY(ptx, pty);

// no negative
if((ptx >= 0)&&(pty >= 0))
{
core::dimension2d<u32 ...
by funkey
Wed Jul 18, 2018 3:27 pm
Forum: Beginners Help
Topic: Payment Processing
Replies: 6
Views: 1383

Re: Payment Processing

sorry, I just think

This is process I use for website and I need to redirect user to PayPal, so may not work here like this, sorry
by funkey
Wed Jul 18, 2018 3:01 pm
Forum: Beginners Help
Topic: Payment Processing
Replies: 6
Views: 1383

Re: Payment Processing

Are you doing on your website?

Game => Website => PayPal => Website => Game

I ask because when I do (using PHP), I send request to PayPal, they contact back to website URL and I send back confirm.
If you do in game client then they may be (probably) on intranet and PayPal not able to contact back ...