View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026482 | Runner | Windows (YYC) | Public | 2017-05-11 10:44 | 2019-05-10 16:12 |
Reporter | Stewart Bishop | Assigned To | Russell Kay | ||
Priority | Low | Severity | C - General | Reproducibility | 100% |
Status | Closed | Resolution | Fixed | ||
Platform | Windows (YYC) | OS | OS Version | ||
Product Version | 2.2.0 | ||||
Target Version | 2.2.3 | Fixed in Version | 2.2.3 | ||
Summary | 0026482: Windows (YYC): Project results differ between VM and YYC | ||||
Description | Using PerlinNoiseTest on VM you'll get some static, on YYC you'll just get a black screen Using PerlinNoiseTest2 on VM you'll get a slow moving screen, on YYC your screen will move much faster but gain squares after a set amount of time. | ||||
Steps To Reproduce | 1) Import either 2) Compare VM and YYC | ||||
Tags | No tags attached. | ||||
1.4 Found In | 7.7.1451 | ||||
2.x Runtime Found In | |||||
2.x Runtime Verified In | 9.9.1.1436 | ||||
2017-05-11 10:44 Developer |
PerlinNoiseTest.gmz (10,671 bytes) PerlinNoiseTest2.gmz (12,015 bytes) |
|
Fixed in gitlab - return values were not being saved correctly.... |
|
Fix will be in EA550+. |
|
Replicated > 7.7.1540 - The first project still replicates a black screen on YYC, but the second project works fine and is fixed - Reopening. |
|
The bug is in the code... as the FastNoise function returns an int64 value and that is divided by 256 to give a number from 0..1 (YYC is preserving the integer nature of this and gives 0 or 1, while VM version is being a bit more lenient and going the slower route) if you cast the return value to real() then it all works. |
|
Not a bug.. but should be mentioned in documentation on differences between YYC and VM |
|
Fixed in gitlab - http://yoyo-gitlab01.yoyogames.lan/runner/GameMaker/merge_requests/1154 long standing issue - but I managed to isolate what was wrong. int64 + real addition was giving a type real on YYC but int64 on VM YYC now resolves to an int64 now as well |